package com.huacai.restbooking.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.huacai.common.annotation.Excel;
import lombok.*;
import com.huacai.common.core.domain.BaseEntity;

/**
 * 餐厅预订对象 restaurant_booking（更新）
 *
 * @author huacai
 * @date 2025-06-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RestaurantBooking extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预订ID */
    private Long id;

    /** 餐厅ID */
    @Excel(name = "餐厅ID")
    private Long restaurantId;

    /** 预订人姓名 */
    @Excel(name = "预订人姓名")
    private String customerName;

    /** 预订人电话 */
    @Excel(name = "预订人电话")
    private String customerPhone;

    /** 用餐人数 */
    @Excel(name = "用餐人数")
    private Integer numberOfPeople;

    /** 预订日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预订日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bookingDate;

    /** 预订时间段 */
    @Excel(name = "预订时间段")
    private String bookingTime;

    /** 状态：PENDING-待确认, CONFIRMED-已确认, CANCELLED-已取消 */
    private String status;


}
